package com.springlearn.zhoufei.other.spring.demo4;

//切面
public class HelloAOP1_ASPECT {
    public void beforeAdvice() {
        System.out.println("beforeAdvice");
    }
    
    public void afterAdvice() {
        System.out.println("afterAdvice");
    }
    
    public void afterReturningAdvice(Object retVal) {
        System.out.println("afterReturningAdvice:" + retVal);
    }
    
    public void AfterThrowingAdvice(IllegalArgumentException ex) {
        System.out.println("AfterThrowingAdvice");
    }
}